<template>
	<view>
		<view style="border-top: 2rpx solid #F7F7F7;margin: 35rpx 0 51rpx;"></view>
		<view style="display: flex;flex-direction: column; align-items: center;">
			<image src="/static/pay/组%2039@2x.png" style="margin: 0 303rpx 30rpx; width: 145rpx;height: 184rpx;" mode="aspectFill"></image>
			<text style="font-size: 32rpx;">支付成功</text>
		</view>
		<view style="display: flex;margin: 185rpx 128rpx 0;">
			<button @click="dingdan" type="default" style="border: 1rpx solid #666666;background-color: #fff;margin-right: 114rpx;">查看订单</button>
			<button @click="index" type="default" style="background-color: #00C657;color: #fff;">返回首页</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		methods:{
			dingdan(){
				uni.switchTab({
					url:'/pages/dingdan/dingdan'
				})
			},
			index(){
				uni.switchTab({
					url:'/pages/index/index'
				})
			}
		}
		
	}
</script>

<style lang="scss">
button{
	width: 190rpx;
	height: 64rpx;
	border-radius: 32rpx;
	font-size: 28rpx;
	color: #666666;
	display: flex;
	justify-content: center;
	align-items: center;
}
</style>
